package com.zj.transactionspringboot01.service;


public class CalService {


    public int add(int a, int b) {
        int c = a / 0;
        System.out.println("add");
        return a + b;
    }

    public int sum(int a, int b) {
        System.out.println("sum");
        return a * b;
    }

    public int div(int a, int b) {
        System.out.println("div");
        return a / b;
    }
}
